package com.example.store.service;

import com.example.store.entity.Cart;
import com.example.store.vo.CartVO;

import java.util.List;

public interface ICartService {

    public Void addToCart(Integer uid , Integer pid , Integer amount , String username);

    public List<CartVO> getVOByUid(Integer uid);

    Integer addNum(Integer cid, Integer uid, String username);

    List<CartVO> getVOByCids(Integer uid, Integer[] cids);
}
